<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:framework="http://symfony.com/schema/dic/symfony"
    xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd
                        http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

    <framework:config http-method-override="false" handle-all-throwables="true">
        <framework:annotations enabled="false" />
        <framework:php-errors log="true" />
        <framework:assets version="SomeVersionScheme" version-format="%%s?version=%%s">
            <framework:base-url>http://cdn.example.com</framework:base-url>
            <framework:package name="images_path" base-path="/foo" version-format="%%s-%%s" />
            <framework:package name="images" version="1.0.0">
                <framework:base-url>http://images1.example.com</framework:base-url>
                <framework:base-url>http://images2.example.com</framework:base-url>
            </framework:package>
            <framework:package name="foo" version="1.0.0" version-format="%%s-%%s" />
            <framework:package name="bar">
                <framework:base-url>https://bar2.example.com</framework:base-url>
            </framework:package>
            <framework:package name="bar_version_strategy" version-strategy="assets.custom_version_strategy">
                <framework:base-url>https://bar_version_strategy.example.com</framework:base-url>
            </framework:package>
            <framework:package name="json_manifest_strategy" json-manifest-path="/path/to/manifest.json" />
            <framework:package name="remote_manifest" json-manifest-path="https://cdn.example.com/manifest.json" />
            <framework:package name="var_manifest" json-manifest-path="%var_json_manifest_path%" />
            <framework:package name="env_manifest" json-manifest-path="%env(env_manifest)%" />
            <framework:package name="strict_manifest_strategy" json-manifest-path="/path/to/manifest.json" strict-mode="true" />
        </framework:assets>
    </framework:config>

    <parameters>
        <parameter key="var_json_manifest_path">https://cdn.example.com/manifest.json</parameter>
        <parameter key="env(env_manifest)">https://cdn.example.com/manifest.json</parameter>
    </parameters>
</container>
